package com.lan.mapper.wealth;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lan.entity.wealth.Wealth;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 财富报表 Mapper 接口
 * </p>
 *
 * @author shadow
 * @since 2022-09-03
 */
@Mapper
public interface WealthMapper extends BaseMapper<Wealth> {

    BigDecimal getTotalMoney(@Param("type") final Integer type);

    List<Wealth> getMoneyList(@Param("type") final Integer type);

    BigDecimal getTotalMoneyList(@Param("type") final Integer type, @Param("created") final String created);
}
